package com.caiwen.blog.service.impl;

import com.caiwen.blog.dao.TbTestMapper;
import com.caiwen.blog.pojo.TbTest;
import com.caiwen.blog.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestServiceImpl implements TestService {
    @Autowired
    private TbTestMapper testMapper;

    @Override
    public List<TbTest> findAll() {
        return testMapper.selectAll();
    }
}
